/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.triumphsys.icici.cmeeting.portlet.model;

import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the CMBranch service. Represents a row in the &quot;CM_BRANCH&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.triumphsys.icici.cmeeting.portlet.model.impl.CMBranchModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.triumphsys.icici.cmeeting.portlet.model.impl.CMBranchImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a c m branch model instance should use the {@link CMBranch} interface instead.
 * </p>
 *
 * @author Triumphsys
 * @see CMBranch
 * @see com.triumphsys.icici.cmeeting.portlet.model.impl.CMBranchImpl
 * @see com.triumphsys.icici.cmeeting.portlet.model.impl.CMBranchModelImpl
 * @generated
 */
public interface CMBranchModel extends BaseModel<CMBranch> {
	/**
	 * Gets the primary key of this c m branch.
	 *
	 * @return the primary key of this c m branch
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this c m branch
	 *
	 * @param pk the primary key of this c m branch
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the branch id of this c m branch.
	 *
	 * @return the branch id of this c m branch
	 */
	public long getBranchId();

	/**
	 * Sets the branch id of this c m branch.
	 *
	 * @param branchId the branch id of this c m branch
	 */
	public void setBranchId(long branchId);

	/**
	 * Gets the company id of this c m branch.
	 *
	 * @return the company id of this c m branch
	 */
	public long getCompanyId();

	/**
	 * Sets the company id of this c m branch.
	 *
	 * @param companyId the company id of this c m branch
	 */
	public void setCompanyId(long companyId);

	/**
	 * Gets the group id of this c m branch.
	 *
	 * @return the group id of this c m branch
	 */
	public long getGroupId();

	/**
	 * Sets the group id of this c m branch.
	 *
	 * @param groupId the group id of this c m branch
	 */
	public void setGroupId(long groupId);

	/**
	 * Gets the region code of this c m branch.
	 *
	 * @return the region code of this c m branch
	 */
	public long getRegionCode();

	/**
	 * Sets the region code of this c m branch.
	 *
	 * @param regionCode the region code of this c m branch
	 */
	public void setRegionCode(long regionCode);

	/**
	 * Gets the entity id of this c m branch.
	 *
	 * @return the entity id of this c m branch
	 */
	public long getEntityId();

	/**
	 * Sets the entity id of this c m branch.
	 *
	 * @param entityId the entity id of this c m branch
	 */
	public void setEntityId(long entityId);

	/**
	 * Gets a copy of this c m branch as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public CMBranch toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(CMBranch cmBranch);

	public int hashCode();

	public String toString();

	public String toXmlString();
}